package com.zmn.plat.model.vo.contract.record;

import com.zmn.mcc.common.dto.staff.StaffDRO;
import com.zmn.plat.model.entity.contract.file.record.ContractFileRecord;
import com.zmn.plat.model.entity.contract.record.ContractRecord;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class ContractRecordVO extends ContractRecord {

    /**
     * 合同付款状态 1已支付 2部分支付 3未支付
     */
    private Integer paymentStatus;

    /**
     * 标的金额：单位元
     */
    private String subjectAmountYuan;

    /**
     * 键：员工ID 值：员工对象
     */
    private Map<Integer, StaffDRO> staffMap;

    /**
     * 该合同对应的所有附件
     */
    private List<ContractFileRecord> contractFileRecords;
}
